package 锁.lock.Condition;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/9/5 15:10
 * @description:
 * @version:
 */
public class mainTest1 {
    public static void main(String[] args) {
        try {
            waitNotify waitNotify = new waitNotify();
            new awaitThread(waitNotify).start();
            Thread.sleep(1000);
            new signalThread(waitNotify).start();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}

